package com.ygqh.baby.mapper;
import com.ygqh.baby.po.YgBrand;
import com.ygqh.baby.po.YgBrandExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface YgBrandMapper {
    int countByExample(YgBrandExample example);

    int deleteByExample(YgBrandExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgBrand record);

    int insertSelective(YgBrand record);

    List<YgBrand> selectByExample(YgBrandExample example);

    YgBrand selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgBrand record, @Param("example") YgBrandExample example);

    int updateByExample(@Param("record") YgBrand record, @Param("example") YgBrandExample example);

    int updateByPrimaryKeySelective(YgBrand record);

    int updateByPrimaryKey(YgBrand record);
    
    int countSuper(@Param("supplierId") Long supplierId,@Param ("q") String q);
    
    List<YgBrand> selectSuper(@Param("supplierId") Long supplierId, @Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
}



